from django.urls import path
import xadmin
xadmin.autodiscover()
from . import views

# version模块自动注册需要版本控制的 Model
from xadmin.plugins import xversion
xversion.register_models()

urlpatterns = [
    path(r'banner/',views.BannerView.as_view(),),
    path(r'nav/', views.NavView.as_view(), ),
]